package com.qf.common.feigns;

import com.qf.common.bean.R;
import com.qf.common.dto.AreaDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "qf-center-service")
public interface AreaApi {

    @PostMapping("/api/area/list")
    R list(@RequestBody(required = false) AreaDto areaDto);
}
